<template>
  <div>
    <h1>小头爸爸</h1>
    <da-tou>
      <h2>{{ msg }}</h2>
      <h2>大头大头下雨不愁！！</h2>
    </da-tou>
    <!-- slot 插槽 不仅仅可以传递数据还可以传递标签 -->
  </div>
</template>

<script>
import DaTou from "./DaTou.vue";
export default {
  name: "",
  props: [""],
  data() {
    return {
      msg: "小头爸爸的儿子是大头",
    };
  },

  components: { DaTou },

  computed: {},

  beforeMount() {},

  mounted() {},

  methods: {},

  watch: {},
};
</script>
<style lang='' scoped>
</style>